package com.sc.nft.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.sc.nft.entity.CopyrightAuctionUserBidding;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sc.nft.entity.vo.CopyrightAuctionRoundUserListVO;
import com.sc.nft.entity.vo.CopyrightAuctionUserBiddingAdminDataVO;
import com.sc.nft.entity.vo.CopyrightAuctionUserBiddingAdminListVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 版权拍卖出价表 Mapper 接口
 * </p>
 *
 * @author liGen
 * @since 2024-09-12
 */
@Mapper
public interface CopyrightAuctionUserBiddingMapper extends BaseMapper<CopyrightAuctionUserBidding> {


    /**
     * 拍卖汇总记录
     * @param mp
     * @param copyrightAuctionRecordId
     * @return
     */
    CopyrightAuctionUserBiddingAdminDataVO copyrightAuctionRecordAdminData(@Param("copyrightAuctionRecordId") Long copyrightAuctionRecordId);


    IPage<CopyrightAuctionUserBiddingAdminListVO> copyrightAuctionUserBiddingAdminList(Page mp, @Param("copyrightAuctionRecordId") Long copyrightAuctionRecordId,
                                                                                       @Param("userTel") String userTel,@Param("roundId")Long roundId);


}
